import loadable from '@/router/route-config';

export const routes = [
  {
    path: '/member',
    auth: true,
    exact: true,
    component: loadable(() => import('@/pages/member/index'))
  },
  {
    path: '/member/create',
    auth: true,
    exact: true,
    component: loadable(() => import('@/pages/member/create/index'))
  },
  {
    path: '/member/edit/:id',
    auth: true,
    exact: true,
    component: loadable(() => import('@/pages/member/create/index'))
  },
  {
    path: '/member/detail/:id',
    auth: true,
    exact: true,
    component: loadable(() => import('@/pages/member/detail/index'))
  }
];